package com.lk.dao;

import com.lk.entity.Fruit;

public class xaiofeiImpl implements xaiofei {
    @Override
    public void buy(Fruit fruit) {
        System.out.println("你买了"+fruit.getName());
    }

    @Override
    public void eat(Fruit fruit) {
        System.out.println("你吃了"+fruit.getTaste()+fruit.getName());
    }
}
